#ifndef TRANSACTIONVIEWDETAILSDIALOG_H
#define TRANSACTIONVIEWDETAILSDIALOG_H

#include <QtGui>

#include "core/transactionmodel.h"
#include "gui/shinylist.h"

class TransactionViewDetailsDialog : public QDialog
{
    Q_OBJECT
public:
    explicit TransactionViewDetailsDialog(QWidget *parent,
                                          TransactionModel *transaction);
    void setTransaction(TransactionModel *transaction);

signals:

public slots:

private:
    void initUiComponents();
    void initSignalsAndSlots();

    QVBoxLayout *mainLayout;

    QLabel *headerLabel;
    QLabel *timeStampLabel;
    QLabel *deliveryStatusLabel;
    QLabel *paidLabel;
    ShinyList *slist;
    QDialogButtonBox *buttonBox;
};

#endif // TRANSACTIONVIEWDETAILSDIALOG_H
